import {
	isNullOrEmpty
} from "./utils";
import useUserStore from '@/store/userStore.js'
import useConfigStore from '@/store/configStore.js'
let list = ["navigateTo", "redirectTo", "reLaunch", "switchTab", "navigateBack"];
list.forEach(item => {
	uni.addInterceptor(item, {
		invoke(e) { // 调用前拦截
			console.log(e);
			return true
		},
		fail(err) { // 失败回调拦截
			console.log(err);
		},
	})
})